package com.yunhe.day322.service.impl;

import com.yunhe.day322.dao.MemberDao;
import com.yunhe.day322.dao.TravellerDao;
import com.yunhe.day322.domain.Member;
import com.yunhe.day322.service.MemberService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class MemberServiceImpl implements MemberService {
    @Autowired
    private MemberDao memberDao;
    @Override
    public List<Member> findAll() {

        return memberDao.findAll();
    }
}
